package com.relax.mybatis.constant;

import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;

/**
 * @author relax
 * @date 2022/07/05
 * @desc 加密常量
 */
public interface EncryptConstants {

    Charset DEFAULT_CHARSET = StandardCharsets.UTF_8;

    /**
     * 字符串输出类型：BASE64
     */
    String STRING_OUTPUT_TYPE_BASE64 = "base64";

    /**
     * 字符串输出类型：十六进制数字
     */
    String STRING_OUTPUT_TYPE_HEX = "hex";

    String PK_PATH = "/META-INF/PK";

    String DEFAULT_PASSWORD = "123456789";

    String DEFAULT_PUBLIC_KEY =
        "MFkwEwYHKoZIzj0CAQYIKoEcz1UBgi0DQgAEeewAxQEdJ/jDoaXTInthyrNi5kHMSQWyz3brP/QgUirYhWOikRY3GYWQkRqSzH+8InA2Vj2FdgwgeZ6WGae/2g==";

    String DEFAULT_PRIVATE_KEY =
        "MIGTAgEAMBMGByqGSM49AgEGCCqBHM9VAYItBHkwdwIBAQQgP6OdzqADfQfcbjRMRtbjhc3V7F+cYTVPsFLpPtYFEeigCgYIKoEcz1UBgi2hRANCAAR57ADFAR0n+MOhpdMie2HKs2LmQcxJBbLPdus/9CBSKtiFY6KRFjcZhZCRGpLMf7wicDZWPYV2DCB5npYZp7/a";

}
